package com.aixx.springcloud.contriller;

import com.aixx.springcloud.Service.OrdermainService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author shkstart
 * @create 2021-01-29 10:53
 */
@RestController
public class Orderhystrixcontroller {
    @Resource
    private OrdermainService  Service;
    @GetMapping("/payment/hystrix/{id}")
    public String paymentInfo_OK(@PathVariable("id")Integer id){


        return  Service.paymentInfo_OK(id);
    }
}
